package com.xl;

import com.spring.XLApplicationContext;
import com.xl.service.TestService;
import com.xl.service.impl.TestServiceImpl;

public class Test {
    public static void main(String[] args) {
        XLApplicationContext xlApplicationContext = new XLApplicationContext(AppConfig.class);
        TestServiceImpl testService = (TestServiceImpl) xlApplicationContext.getBean("testService");
        System.out.println(testService.getUserService());
    }
}
